package com.peng.test.api.impl2;

import com.peng.rpc.annotation.Service;
import com.peng.rpc.api.LoveService;
import com.peng.rpc.api.LoverArg;
import lombok.extern.slf4j.Slf4j;

/**
 * @author Wonderson
 * @email wpp.ds@foxmail.com
 * @date 2022/3/7 19:17
 */
@Slf4j
@Service
public class LoverImpl2 implements LoveService {
    @Override
    public LoverArg.Lover marry(LoverArg loverArg) {
        log.info("当然是妹妹至上辣：{}", loverArg.toString());
        return loverArg.getLover("sister");
    }
}
